﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;

namespace CallBackMethod
{

    
    internal class Program
    {
        static void Main(string[] args)
        {
            GameController controller = new GameController();   
            Button gameStartButton = new Button();
            gameStartButton.onclick=new Button.OnClickDelegate(controller.OnGameStart);
            gameStartButton.Click();
        }
    }
}
